'use strict';

module.exports = appInfo => {
  const config = {};

  // add your config here
  config.proxyworker = {
    port: 10086,
  };

  // 数据库配置
  config.sequelize = {
    dialect: 'mysql', // support: mysql, mariadb, postgres, mssql
    database: 'jinwin',
    host: '47.98.214.169',
    port: '3306',
    username: 'root',
    password: 'aishangtianlanse',
    timezone: '+08:00', // 设置北京时区
    //logging: true,
    // logging: appInfo.env === 'local'?  undefined: false, //设置是否打印sql
  };


  config.logger = {
    consoleLevel: 'DEBUG',
  };

  return config;
};
